package puzzle.platformer.game;

public class Cell{
	private int x;
 	private int y;
 	private int imageid;
 	private int left_x;
	private int right_x;
	private int top_y;
	private int bottom_y;
	private int width;
	//private int height;
	private String attribute;
 
 	public Cell(int x, int y, int imageid, int width, /*int height, */ String attr){
 		this.x = x;
 		this.y = y;
 		this.width = width;
 		//this.height = height;
		this.left_x = x - (width/2);
		this.right_x = x + (width/2);
		this.top_y = y - (width/2);
		this.bottom_y = y + (width/2);
		//this.top_y = y + (height/2);
		//this.bottom_y = y - (height/2);
 		this.imageid = imageid;
 		this.attribute = attr;
 	}
 	
 	public int getX(){
 		return x;
 	}
 	
 	public int getLeftX(){
 		return left_x;
 	}
 	
 	public int getRightX(){
 		return right_x;
 	}
 	
 	public int getY(){
 		return y;
 	}
 	
 	public int getTopY(){
 		return top_y;
 	}
 	
 	public int getBottomY(){
 		return bottom_y;
 	}
 	
 	public int getImageId(){
 		return imageid;
 	}
 	
 	public String getAttribute(){
 		return attribute;
 	}
}
